#pragma once
#ifndef ZQ_LOADER_H_
#define ZQ_LOADER_H_

#include "common.h"

// type == 0x0
int loadJpg_raw(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0x1
int loadJpg_resize(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0x2
int loadJpg_raw_mmap(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0x3
int loadJpg_resize_mmap(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0x4
int loadJpg_mmap_dec2_resz(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0x5
int loadJpg_mmap_dec2r_rez2(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0xFE
int iotest_fread(const unsigned tid, zq_queue& queue, counter_mt& counter);

// type == 0xFF
int iotest_mmap(const unsigned tid, zq_queue& queue, counter_mt& counter);

#endif
